package com.example.springboot_targettest;

import org.springframework.boot.context.properties.ConfigurationProperties;

@SuppressWarnings("unused")
@ConfigurationProperties(prefix = "jhj.auto")
public class SelfConfigurationProperties {
    /**
     * 自动配置类SelfConfigurationProperties是否生效
     * */
    private boolean enable;

    public boolean isEnable(){
        return enable;
    }

    public void setEnable(boolean enable){
        this.enable=enable;
    }
}
